package com.my.simple.repository.dao;

import com.my.simple.entity.auth.Operation;

import java.util.List;

public interface AuthOperationDao {
    void addOperation(Operation operationItem);

    void deleteOperationById(Integer operationId);

    void updateOperation(Operation operationItem);

    Operation getOperationById(Integer operationId);

    List<Operation> getAllOperation();

    List<Operation> getNeedPermissionOperation();

    List<Operation> getOperationByRoleId(Integer roleId);

    List<Operation> getOperationByRoleIdList(List<Integer> roleIdList);
}
